package com.cash.app.utils.extra.model

import com.google.gson.annotations.SerializedName
import com.cash.app.constant.AppConstant
import com.cash.app.utils.SpUtils

class LocationAddressData {
    @SerializedName("proc_longitude")
    var longitude: String = ""

    @SerializedName("proc_latitude")
    var latitude: String = ""

    @SerializedName("proc_address_details")
    var address_details: String = ""

    init {
        this.latitude = SpUtils.get(AppConstant.K_APP_LATITUDE, "")
        this.longitude = SpUtils.get(AppConstant.K_APP_LONGITUDE, "")
        this.address_details = SpUtils.get(AppConstant.K_APP_ADDRESS, "")
    }

    override fun toString(): String {
        return "LocationAddressData(longitude='$longitude', latitude='$latitude', address_details='$address_details')"
    }
}

